package jieke;

public abstract class people {
    protected int number;
    protected String name;

    public people(int number, String name) {
        this.number = number;
        this.name = name;
    }
    public abstract double jisuan();     //计算薪资
    public abstract String gongzitiao();//生成工资条

    public int getNumber() {
        return number;
    }

    public String getName() {
        return name;
    }
}
